import { Provide } from '@midwayjs/core';
import { BaseService } from '@cool-midway/core';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { AutomationConditionEntity } from '../../entity/condition';

/**
 * 触发条件
 */
@Provide()
export class AutomationConditionService extends BaseService {
  @InjectEntityModel(AutomationConditionEntity)
  automationConditionEntity: Repository<AutomationConditionEntity>;
}